import QtQuick 1.1
import QtCommercial.Chart 1.2

Rectangle {
    width: 447
    height: 250
    color: "#00000000"
    border.color: "#00000000"
    Column {
        id: column1
        anchors.fill: parent
        width: parent.width
        height: parent.height

        ChartView {
            id: linechart
            width: parent.width
            height: parent.height

              title: "流量曲线"
//              anchors.fill: parent
              theme: ChartView.ChartThemeLight
              legend.visible: false
              SplineSeries {
                  name: "SplineSeries"
                  XYPoint { x: 0; y: 0 }
                  XYPoint { x: 1; y: 1.1 }
                  XYPoint { x: 2; y: 3.3 }
                  XYPoint { x: 3; y: 2.1 }
                  XYPoint { x: 4; y: 3.9 }
                  XYPoint { x: 5; y: 4.0 }
                  XYPoint { x: 6; y: 3.3 }
                  XYPoint { x: 7; y: 2.3 }
                  XYPoint { x: 8; y: 2.1 }
                  XYPoint { x: 9; y: 3.3 }
                  XYPoint { x: 10; y: 2.9 }
                  XYPoint { x: 11; y: 5.9 }
                  XYPoint { x: 12; y: 3.8 }
                  XYPoint { x: 13; y: 5.1 }
                  XYPoint { x: 14; y: 3.1 }
                  XYPoint { x: 15; y: 3.3 }
                  XYPoint { x: 16; y: 2.1 }
                  XYPoint { x: 17; y: 2.9 }
                  XYPoint { x: 18; y: 3.0 }
                  XYPoint { x: 19; y: 3.3 }
                  XYPoint { x: 20; y: 5.2 }
                  XYPoint { x: 21; y: 2.1 }
                  XYPoint { x: 22; y: 3.3 }
                  XYPoint { x: 23; y: 4.1 }
              }
          }
    }
}
